﻿using System;
using System.Collections.Generic;
using System.Text;
using IService.DataDLL;
using System.Data.OleDb;

namespace IService.Model
{
	[Serializable]
	[Table("DTV_Admin", "ID")]
	public class DTVAdmin : DTVBaseObject
	{
		private string username;
		private string password;
		private string displayname;
		private string department;
		private string telephone;
		private string email;
		private int roleid;

		[Property("Username", OleDbType.VarChar, false, false)]
		public string Username
		{
			get { return username; }
			set { username = value; }
		}

		[Property("Password", OleDbType.VarChar, false, false)]
		public string Password
		{
			get { return password; }
			set { password = value; }
		}

		[Property("DisplayName", OleDbType.VarChar, false, false)]
		public string DisplayName
		{
			get { return displayname; }
			set { displayname = value; }
		}

		[Property("Department", OleDbType.VarChar, false, false)]
		public string Department
		{
			get { return department; }
			set { department = value; }
		}

		[Property("Telephone", OleDbType.VarChar, false, false)]
		public string Telephone
		{
			get { return telephone; }
			set { telephone = value; }
		}

		[Property("Email", OleDbType.VarChar, false, false)]
		public string Email
		{
			get { return email; }
			set { email = value; }
		}

		[Property("RoleId", OleDbType.Integer, false, false)]
		public int RoleId
		{
			get { return roleid; }
			set { roleid = value; }
		}
	}
}
